package com.system.dao;

import com.system.entity.CourseInformation;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.CrossOrigin;

import java.util.List;
@CrossOrigin
@Repository
public interface CourseInformationMapper {
    int deleteByPrimaryKey(Integer courseId);

    int insert(CourseInformation record);

    int insertSelective(CourseInformation record);

    CourseInformation selectByPrimaryKey(Integer courseId);

    int updateByPrimaryKeySelective(CourseInformation record);

    int updateByPrimaryKey(CourseInformation record);

    List<CourseInformation> selectByStu_id(Long stu_id);
}
